home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 237 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  2.0 KB

  1. From: Julian F. Reschke <julian@GOEDEL.UNI-MUENSTER.DE>
  2. Subject: Re: changes to support MacMiNT
  3. Date: Wed, 28 Apr 93 11:20:06 MET DST
  4. In-Reply-To: <9304272032.AA00382@tazboy.Jpl.Nasa.Gov>; from "Brad Pickering" at Apr 27, 93 1:32 pm
  5.  
  6. > Hi MiNT people -
  7. >   I have ported MiNT 0.95 to the Macintosh, and I'm starting to port version
  8. > 1.04.  For my 0.95 port I basically hacked around until it worked.  For
  9. > the 1.04 port I would like to be a little more systematic.  It turns out that
  10. > the major changes to MiNT have to do with low memory addresses.  MiNT wants
  11. > to find certain system globals in low memory but the Mac stores its own
  12. > stuff there, so the the Mac version of MiNT needs to look somewhere else for
  13. > these values.  What I would like to suggest, so that my port will be cleaner,
  14. > is that access to low memory globals not be hard coded.  I have started
  15. > two files: one to be included in assembler files and one to be included by
  16. > C files.  The following is what I have in 'locore.i', the assembler include:
  17. > %ifndef MAC
  18. > %define LC_TERM ($408).w
  19. > %define LC_FRAME ($59e).w
  20. > %define LC_FLOPLCK ($43e).w
  21. > %define GEMDOS 1
  22. > %define AES 2
  23. > %define BIOS 13
  24. > %define XBIOS 14
  25. > %else
  26. >     XDEF    _mac_term
  27. >     XDEF    _mac_frame
  28. >     XDEF    _mac_floplck
  29. > %define LC_TERM _mac_term
  30. > %define LC_FRAME _mac_frame
  31. > %define LC_FLOPLCK _mac_floplck
  32. > %define GEMDOS 1
  33. > %define AES 15
  34. > %define BIOS 2
  35. > %define XBIOS 3
  36. > %endif
  37. > The other header would do the same sort of thing for C files. This would make
  38. > it easier to port and not much more complicated.
  39. > What do you think?
  40. > Brad
  41.  
  42. While I'm not sure that Atari and Eric *want* MiNT to run on the Mac -- 
  43. I guess that the changes would make the code a bit better to read :-)
  44.  
  45. -- 
  46. -----------------------------------------------------------------------------
  47. Julian F. Reschke, Hensenstr. 142, D-W4400 Muenster (from July, 1st: D-48161)
  48.          eMail: julian@math.uni-muenster.de, jr@ms.maus.de
  49. _____________________________________________________________________________
  50.